package com.boarsoft.bean;

import java.io.Serializable;

@SuppressWarnings("serial")
public class User implements Serializable {
	public static final short STATUS_NEW = 0; // 保留没用，临时账号?
	public static final short STATUS_INUSE = 1; // 启用
	public static final short STATUS_NOUSE = 2; // 停用

	protected String id; // 用户ID
	protected String code; // 昵称/名字
	protected String name; // 昵称/名字
	protected String password; // 密码
	protected String email; // 邮箱
	protected String phone; // 手机号码
	protected String token;//
	protected short status = 0; // 0:新加，1:正常，2:删除

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public short getStatus() {
		return status;
	}

	public void setStatus(short status) {
		this.status = status;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}
}
